<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title><?=$title ?> || FitnessClass Body Studio</title>
		<meta name="description" content="????????????">
		<meta http-equiv="content-type" content="text/html; charset=cp1251"/>
		<meta name="keywords" content="????????">
		<link rel=stylesheet type="text/css" href="<? echo CORE_PATH . TEMPLATE_PATH; ?>css/style.css">
		<link rel="SHORTCUT ICON" href="<?=CORE_PATH . TEMPLATE_PATH?>img/favicon.ico"/>
		<link rel="stylesheet" type="text/css" href="<?=CORE_PATH . TEMPLATE_PATH?>css/lightbox.css" />
		<link rel="stylesheet" href="<?=CORE_PATH . TEMPLATE_PATH?>nevo/nivo-slider.css" type="text/css" media="screen" />
		<? if ($slider == null || $slider == false || $slider == ''):?>
			<script type="text/javascript" src="<?=CORE_PATH . TEMPLATE_PATH?>js/imageclickable.js"></script>
		<? endif; ?>
		<script type="text/javascript" src="<?=CORE_PATH . TEMPLATE_PATH?>js/prototype.js"></script>
		<script type="text/javascript" src="<?=CORE_PATH . TEMPLATE_PATH?>js/scriptaculous.js?load=effects,builder"></script>
		<script type="text/javascript" src="<?=CORE_PATH . TEMPLATE_PATH?>js/lightbox.js"></script>
		<script type="text/javascript">
			function KE_preloadImages() { //v3.0
				var d = document;
				if (d.images) {
					if (!d.KE_p) d.KE_p = new Array();
					var i,j = d.KE_p.length,a = KE_preloadImages.arguments;
					for (i = 0; i < a.length; i++)
						if (a[i].indexOf("#") != 0) {
							d.KE_p[j] = new Image;
							d.KE_p[j++].src = a[i];
						}
				}
			}
		</script>
	</head>
	
	<body onload="KE_preloadImages('<? echo CORE_PATH . TEMPLATE_PATH; ?>img/home_active.png','<? echo CORE_PATH . TEMPLATE_PATH; ?>img/actions_active.png','<? echo CORE_PATH . TEMPLATE_PATH; ?>img/about_active.png','<? echo CORE_PATH . TEMPLATE_PATH; ?>img/news_active.png','<? echo CORE_PATH . TEMPLATE_PATH; ?>img/schelude_active.png','<? echo CORE_PATH . TEMPLATE_PATH; ?>img/services_active.png','<? echo CORE_PATH . TEMPLATE_PATH; ?>img/team_active.png'); img_clickable()">
		<div id="container">
			<!--IIIapka start by Jimmy Mohito--->
                        <?php $host = $_SERVER['HTTP_HOST']; ?>
                        <a href="http://<?php echo $host; ?>">
			<div id="logo">
				<strong>FitnessClass</strong>
			</div>
			</a>
			<div id="lang">
				<a href="http://ru.fitnessclass.md/">
                		<div id="ru">
					Russian
				</div>
				</a>
				<a href="http://en.fitnessclass.md/">
		                <div id="en">
                		        English
		                </div>
			        </a>
			        <a href="http://md.fitnessclass.md/">
		                <div id="md">
                		        Moldova
	                        </div>
		                </a>
		        </div>
			<!--End of III???a ????? by Jimmy Mohito--->
			<!--Content start by Jimmy Mohito--->
			<?=$content ?>
			<!--Content end by Jimmy Mohito--->
			<!--Footer-->
			
			<!--<div id="debug">-->
				<!--<td>-->
					<!--<p class="debug">Powered by <a href="http://jimmy.inf.ua">JimmyMohito Engine<sup>TM</sup></a>. <?php echo SITE_NAME; ?>(C) 2011. <br /> All rights reserved</p>-->
				<!--</td>-->
			<!--</div>-->
		</div>
		<? if ($slider !== null): ?>
			<script type="text/javascript" src="<?=CORE_PATH . TEMPLATE_PATH?>js/jquery-1.5.js"></script>
			<script type="text/javascript" src="<?=CORE_PATH . TEMPLATE_PATH?>nevo/jquery.nivo.slider.pack.js"></script>
			<script type="text/javascript">
			$(window).load(function() {
				$('#slider').nivoSlider();
			});
			</script>
		<? endif; ?>
	</body>
</html>